﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using cbelo.Controllers;
using System.Web.Security;

namespace cbelo.Models
{
    public class tapaRepositorio
    {
        cbeloEntities connection = new cbeloEntities();

        public IQueryable<tapalanche> Select()
        {
            var result = from p in connection.tapalanche
                         orderby p.idtapalanche
                         select p;
            return result;
        }

        /*
        public void Add(mdf mdfdata)
        {
            connection.AddTomdf(mdfdata);
        }


        public void Delete(mdf mdfdata)
        {
            connection.DeleteObject(mdfdata);
        }


        public void Save()
        {
            connection.SaveChanges();
        }
        */

    }
}